﻿/*---------------------------------------------------------------------------------
-----------------***DaLianQianYi***-----------------------
-----------------作者：大连仟亿科技------------------------------------------------------
-----------------联系作者：www.qianyikeji.com----------------------------------
-----------------时间：2024/7/26 11:30:38------------------------------------------
----------------------------------------------------------------------------------*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Donal.Xms.Model
{
    /// <summary>
    /// 商品表 (products_goods)实体
    /// </summary>
    [Serializable]
    public partial class products_goods
    {
        public products_goods()
        { }

        #region Model
        /// <summary>
        /// 商品表自增ID
        /// </summary>
        public int id { set; get; } = 0;
        /// <summary>
        /// 商品ID
        /// </summary>
        public int products_id { set; get; } = 0;
        /// <summary>
        /// 商品名称
        /// </summary>
        public string title { set; get; } = string.Empty;
        /// <summary>
        /// 副标题
        /// </summary>
        public string sub_title { set; get; } = string.Empty;         
        /// <summary>
        /// 调用别名
        /// </summary>
        public string call_index { set; get; } = string.Empty;
        /// <summary>
        /// 链接
        /// </summary>
        public string link_url { set; get; } = string.Empty;
        /// <summary>
        /// 图片
        /// </summary>
        public string img_url { set; get; } = string.Empty;
        /// <summary>
        /// 状态 0正常 1禁用
        /// </summary>
        public int status { set; get; } = 0;
        /// <summary>
        /// 排序 越小越前
        /// </summary>
        public int sort_id { set; get; } = 0;
        /// <summary>
        /// 商品代码（erp）
        /// </summary>
        public string erp_goods_no { set; get; } = string.Empty;
        /// <summary>
        /// 含税单价
        /// </summary>
        public decimal sell_price { set; get; } = 0;
        /// <summary>
        /// 详细内容
        /// </summary>
        public string contents { set; get; } = string.Empty;
        /// <summary>
        /// 摘要
        /// </summary>
        public string abstracts { set; get; } = string.Empty;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? add_time { set; get; } = null;
        /// <summary>
        /// 非标标识 0标准 1非标
        /// </summary>
        public int standard { set; get; } = 0;


        /// <summary>
        /// 扩展字段字典
        /// </summary>
        public List<products_goods_filed> fields { get; set; } = new List<products_goods_filed>();

        #endregion
    }
}


